package com.ce.pms.house.service;

import java.util.List;

import com.ce.pms.house.vo.ReasonVO;
import com.sitechasia.webx.core.support.Page;

/**
 *
 * @function 有关退伙的操作，如退伙设置
 * @author Adama Yue
 * @CreateDate:2008-6-27
 */
public interface IGoOutService {
	//异常登记
	public String addGoOutException(ReasonVO vo);
	public String editGoOutException(ReasonVO vo);
	public String deleteGoOutException(Long id);
	public Page showGoOutExceptions(ReasonVO vo,Integer pageNO,Integer pageSize);
	public ReasonVO findGoOutException(Long id);

	//物品登记
	public String addGoodsRecord(ReasonVO vo);
	public String editGoodsRecord(ReasonVO vo);
	public String deleteGoodsRecord(Long id);
	public Page showGoodsRecords(ReasonVO vo,Integer pageNO,Integer pageSize);
	public ReasonVO findGoodsRecord(Long id);

	/**
	 * 检查名称是否唯一
	 * return true 唯一 false不唯一
	 */
	public boolean checkUnique(ReasonVO vo);
	/**
	 * 检查是否已被引用
	 * return true 被引用 false 未被引用
	 */
	public boolean checkUsed(ReasonVO vo);
	/**
	 * 方法描述: 根据异常类型查询相应异常集合
	 * @author 胡煦
	 * Create on:2008-9-4
	 * @param reasonDefType
	 * @return List<ReasonVO>
	 * Edit author:
	 * Edit on:
	 * 修改原因：
	 */
	public List<ReasonVO> getReasonDefDoList(String reasonDefType);

}
